import pandas as pd #导入pandas
series = pd.Series([0, 1, 2, 3, 4], index=['a', 'b', 'c', 'd', 'e'])
for index, value in series.items():
    print('index is: ', index, 'value is : ', value)
